home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / Buch / OOP2.mak < prev    next >
Text File  |  1999-01-03  |  2KB  |  59 lines

  1. # ---------------------------------------------------------------------------
  2. VERSION = BCB.01
  3. # ---------------------------------------------------------------------------
  4. !ifndef BCB
  5. BCB = $(MAKEDIR)\..
  6. !endif
  7. # ---------------------------------------------------------------------------
  8. PROJECT = OOP2.exe
  9. OBJFILES = OOP2.obj Hops2.obj Movie2.obj
  10. RESFILES = OOP2.res
  11. RESDEPEN = $(RESFILES) Hops2.dfm
  12. LIBFILES = 
  13. DEFFILE = 
  14. # ---------------------------------------------------------------------------
  15. CFLAG1 = -Od -Hc -w -k -r- -y -v -vi- -c -a4 -b- -w-par -w-inl -Vx -Ve -x
  16. CFLAG2 = -Ic:\buch\cppkids\quell\kap09;$(BCB)\projects;$(BCB)\include;$(BCB)\include\vcl \
  17.    -H=$(BCB)\lib\vcld.csm 
  18. PFLAGS = -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE \
  19.    -Uc:\buch\cppkids\quell\kap09;$(BCB)\projects;$(BCB)\lib\obj;$(BCB)\lib \
  20.    -Ic:\buch\cppkids\quell\kap09;$(BCB)\projects;$(BCB)\include;$(BCB)\include\vcl \
  21.    -v -$Y -$W -$O- -JPHNV -M     
  22. RFLAGS = -ic:\buch\cppkids\quell\kap09;$(BCB)\projects;$(BCB)\include;$(BCB)\include\vcl 
  23. LFLAGS = -Lc:\buch\cppkids\quell\kap09;$(BCB)\projects;$(BCB)\lib\obj;$(BCB)\lib \
  24.    -aa -Tpe -x -V4.0 
  25. IFLAGS = 
  26. LINKER = tlink32
  27. # ---------------------------------------------------------------------------
  28. ALLOBJ = c0w32.obj $(OBJFILES)
  29. ALLRES = $(RESFILES)
  30. ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib 
  31. # ---------------------------------------------------------------------------
  32. .autodepend
  33.  
  34. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  35.     $(BCB)\BIN\$(LINKER) @&&!
  36.     $(LFLAGS) +
  37.     $(ALLOBJ), +
  38.     $(PROJECT),, +
  39.     $(ALLLIB), +
  40.     $(DEFFILE), +
  41.     $(ALLRES) 
  42. !
  43.  
  44. .pas.hpp:
  45.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  46.  
  47. .pas.obj:
  48.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  49.  
  50. .cpp.obj:
  51.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $* 
  52.  
  53. .c.obj:
  54.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
  55.  
  56. .rc.res:
  57.     $(BCB)\BIN\brcc32 $(RFLAGS) $<
  58. #-----------------------------------------------------------------------------
  59.